import unittest, csv, time
from selenium import webdriver
from time import sleep
from ddt import ddt, unpack, data


# def readFile():
#     params = []
#     file = open('11.txt', 'r', encoding='gbk')
#     for line in file.readline():
#         params.append(line.strip('\n').split(','))
#     return params

class forTest(unittest.TestCase):
    def setUp(self):
        print('setup')

    def tearDown(self):
        print('trarDown')

    # @data(*readFile())
    # @unpack
    # def test_1(self, a1, a2):
    #     print(a1)
    #     print(a2)

    @data('dfd', 'fd')
    @unpack
    @classmethod
    def test_2(self, text):
        print(text)


if __name__ == '__main__':
    unittest.main()
